# 3*3*3...*3 10个3相乘 ()

a=1
z=1
while a<=10:
    z*=3
    a+=1
print(z)